<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>vue-plug-pagedata</title>
</head>

<body>
  <form method="get">
    <fieldset>
      <legend>这个是get方式 </legend>
      <input name="get_nick" value="凡星" /><br>
      <input name="get_qq" value="181424200" /><br>
      <input name="age" value="200" /><br>
      <input type="submit" value="submit" />
    </fieldset>
  </form>
  <br>
  <form method="post">
    <fieldset>
      <legend>这个是post方式 </legend>
      <input name="post_nick" value="1111111111" /><br>
      <input name="post_qq" value="22222222" /><br>
      <input name="age" value="10086" /><br>
      <input type="submit" value="submit" />
    </fieldset>
  </form>
  <br>
  <div>
    <div>获取页面数据</div>
    <div id="requestData"></div>
  </div>
  <script>
    document.getElementById('requestData').innerHTML=JSON.stringify(window.scpRequestData||{});
  </script>
  <!-- built files will be auto injected -->
</body>

</html>